Skip to main content

Open Window

AutomatR.Windows.Activities.OpenWindow

The "Open Window" activity in AutomatR allows you to display and bring focus to a designated window. This activity is useful for interacting with specific applications or processes on your Windows system.

Properties

NameDescription
Input
File PathEnter the string containing the location of the application executable available on the local drive, along with the executable name (e.g., C:\programfiles\System32\excel.exe), to open the designated window. String variables containing the file path.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Open Window" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.

How to use:

  1. Drag and drop the "Open Window" activity onto the workflow.
  2. Configure the properties by specifying the delay, file path, and optionally customize the display name.
  3. Execute the workflow to open the designated window.

Example: Consider an example where the "Open Window" activity is used to open the Notepad application:

Open Window:
Display Name: "Open Notepad"
File Path: "C:\Windows\System32\notepad.exe"
Delay: 2

In this example, the activity opens the Notepad application after a delay of 2 seconds.